<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

//File to override error 404 of codeigniter
class Errors extends CI_Controller {

	public function error_404(){
		
		$data['title']="Page your are lookig for is not found";
		$data['error_404']="Page you are looking for is not found";
		$data['categories']=$this->mod_globals->select_all(PREFIX_TABLE."categories");
		$data['brands']=$this->mod_globals->select_all(PREFIX_TABLE."brands");
		$this->load->view(F_MASTER.'index',$data);
	}
	
}
